<? !defined('IN_MUDDER') && exit('Access Denied'); ?>
<script type="text/javascript">
function zoommenu(obj) {
    var h = obj.parentNode.childNodes[(is_ie ? 0 : 1)].childNodes[0];
    var ul = obj.parentNode.childNodes[(is_ie ? 1 : 3)];
    if(ul.style.display == 'none') {
        ul.style.display = 'block';
        h.className = 'collapse';
    } else {
        ul.style.display = 'none';
        h.className = 'expand';
    }
}
</script>
<div class="my_menus">
    
<? if(is_array($assmenus)) { foreach($assmenus as $key => $val) { ?>
    <div>
        <h1 onclick="zoommenu(this);"><span class="collapse"><?=$val?></span></h1>
        <ul>
        
<? if(is_array($$key)) { foreach($$key as $s_key => $s_val) { ?>
            <li><a href="index.php?ac=<?=$s_key?>"><?=$s_val?></a></li>
        
<? } } ?>
        </ul>
    </div>
    
<? } } ?>
</div>